:root {
  /* Color variables */
  --primary-color: #2196f3;
  --primary-color-dark: #1976d2;
  --primary-color-light: #bbdefb;
  --accent-color: #ff4081;
  --accent-color-dark: #c2185b;
  --text-primary: #333333;
  --text-secondary: #757575;
  --text-disabled: #9e9e9e;
  --background-color: #f5f5f5;
  --surface-color: #ffffff;
  --error-color: #f44336;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --info-color: #2196f3;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  
  /* Dark theme variables */
  --dark-primary-color: #90caf9;
  --dark-primary-color-dark: #42a5f5;
  --dark-primary-color-light: #e3f2fd;
  --dark-accent-color: #ff80ab;
  --dark-accent-color-dark: #f48fb1;
  --dark-text-primary: #ffffff;
  --dark-text-secondary: #b0bec5;
  --dark-text-disabled: #78909c;
  --dark-background-color: #121212;
  --dark-surface-color: #1e1e1e;
  --dark-border-color: #424242;
  --dark-shadow-color: rgba(0, 0, 0, 0.3);
  
  /* Typography */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  background-color: var(--background-color);
  color: var(--text-primary);
  margin: 0;
  font-size: 14px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color-dark);
  text-decoration: underline;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0;
}

/* App container */
#app {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

/* Utility classes */
.flex {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-grow {
  flex-grow: 1;
}

/* Dark theme */
.dark-theme {
  color: var(--dark-text-primary);
  background-color: var(--dark-background-color);
}

.dark-theme .surface {
  background-color: var(--dark-surface-color);
  border-color: var(--dark-border-color);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
  :root {
    --spacing-unit: 8px;
  }
}
